/*
 * @Author: your name
 * @Date: 2021-01-04 12:57:44
 * @LastEditTime: 2021-01-04 17:27:28
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \H5 2010 studyd:\H5 2010 练习\考试\第三阶段 Vue\proj_muke\src\router\index.js
 */
import Vue from 'vue'
import VueRouter from 'vue-router'

// 单独把 routes 数组 提出去
import routes from './routes'

Vue.use(VueRouter)

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
